﻿@model ScrumTracker.Models.Sprint
@using (Html.BeginForm("Update", "Sprints", FormMethod.Post))
{
    <fieldset>
        <legend>Sprint</legend>
        @Html.HiddenFor(m => m.ProductId)
        <div class="editor-label">
            @Html.LabelFor(model => model.Name)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Name)
            @Html.ValidationMessageFor(model => model.Name)
        </div>
        <div class="editor-label">
            @Html.LabelFor(model => model.EndDate)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.EndDate)
            @Html.ValidationMessageFor(model => model.EndDate)
        </div>
        <p>
            <input type="submit" value="Update" />
        </p>
    </fieldset>
}